package com.bristua.mall.common.utils;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2019/4/20.
 */
@Component
@PropertySource({"classpath:properties/data-center.properties"})
@ConfigurationProperties
public class DataCenterAPIUrl {
    public static final String getGoodsUrl="/sku/%s/sku";
    public static final String getGoodsDetailUrl="/product/detail/%s";

    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
